import { Directive,HostListener } from '@angular/core';

@Directive({
  selector: '[option]'
})
export class OptionDirective {
  constructor() { }
  // @HostListener('selected') onMouseEnter($event) {
  //   console.log(111111);
  //   console.log($event);
    
  // }
  @HostListener('mouseenter') onMouseEnter($event) {
    console.log(111111);
    console.log($event);
    
  }
}
